export type OptionsType = {
  value: string;
  text: string;
  checked?: boolean;
};
export type QuestionCheckboxPropsType = {
  title?: string;
  options?: OptionsType[];
  isVetical?: boolean;
  disabeled?: boolean;
  onChange?: (newProps: QuestionCheckboxPropsType) => void;
};

export const QuestionCheckboxDefaultProps: QuestionCheckboxPropsType = {
  title: "多选框",
  options: [
    { text: "选项1", value: "1", checked: false },
    { text: "选项2", value: "2", checked: false },
    { text: "选项3", value: "3", checked: false },
  ],
  isVetical: false,
};
